package com.code.day09;

public class Test {
    public static void main(String[] args) {
        Teacher teacher = new Teacher();
        teacher.age = 18;
        teacher.name = "lisi";
        System.out.println(teacher.age);
        System.out.println(teacher.name);
        teacher.work();

        Manager manager = new Manager();
        manager.age = 18;
        manager.name = "wangwu";
        System.out.println(manager.age);
        System.out.println(manager.name);
        manager.work();
    }
}
